home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 12021 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  679 b 

  1. Path: nil.zfe.siemens.de!not-for-mail
  2. From: rainer@nil.zfe.siemens.de (Rainer Wartha)
  3. Newsgroups: comp.lang.c
  4. Subject: Q: mem allocation in function
  5. Date: 28 Mar 1996 12:31:27 GMT
  6. Organization: Siemens AG, Neu_Perlach-Munich-Germany-Europe.
  7. Message-ID: <4je0qv$heq@salomon.zfe.siemens.de>
  8. NNTP-Posting-Host: nil.zfe.siemens.de
  9. X-Newsreader: TIN [UNIX 1.3 200794BETA PL0]
  10.  
  11.  
  12. Hello,
  13.  
  14. is it conforming to ANSI (allowed) to allocate in 
  15. a Function Memory for a Pointer (defined external)
  16. and use it after returning from the function
  17. (memory not freed, free shortly before exit)
  18.  
  19. I've scrolled through the FAQ but beneath some simple
  20. answers i haven't found this...
  21.  
  22. Thank you,
  23. Rainer
  24.